<!--
 * @Author: ZhaoZhiqi
 * @Date: 2024-05-16 15:42:05
 * @LastEditors: ZhaoZhiqi
 * @LastEditTime: 2024-05-16 15:43:29
 * @Description: 广告详情页
 * @FilePath: \parking-mini\src\pages\adDetail.vue
-->
<template>
    <div class="container">
        <u-parse :content="content"></u-parse>
    </div>
</template>
<script>
import { getAdDetailAPI } from "../api/api";
export default {
    data() {
        return {
            content: "",
        };
    },
    onLoad(options) {
        let id = options.id;
        getAdDetailAPI({ id }).then((res) => {
            this.content = res.content;
        });
    },
};
</script>
<style scoped lang="scss"></style>
